package student.beans;

import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component
public class Student2Course implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8089739064446611718L;
	private int studentId;
	private int courseId;
	private double score;
	public Student2Course() {
		super();
	}
	public Student2Course(int studentId, int courseId, double score) {
		super();
		this.studentId = studentId;
		this.courseId = courseId;
		this.score = score;
	}
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	@Override
	public String toString() {
		return "Student2Course [studentId=" + studentId + ", courseId=" + courseId + ", score=" + score + "]";
	}
	
	
	

}
